<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<jsp:include page="/extInclude.jsp" />
<script type="text/javascript">
/*!
 * Ext JS Library 3.2.1
 * Copyright(c) 2006-2010 Ext JS, Inc.
 * licensing@extjs.com
 * http://www.extjs.com/license
 */
Ext.onReady(function(){
    // second tabs built from JS
    var tabs2 = new Ext.TabPanel({
        renderTo: document.body,
        activeTab: 0,
        plain:true,
        defaults:{autoScroll: true},
        items:[{
                title: '报表1',
                html: "<iframe src='ReportServer?reportlet=bbl.cpt' width='100%' height='800' frameborder='0' marginwidth='0' marginheight='0'></iframe>"
            },{
                title: '报表2',
                height:800,
                html: "<iframe src='ReportServer?reportlet=bb2.cpt' width='100%' height='800' frameborder='0' marginwidth='0' marginheight='0'></iframe>"
                //autoLoad : {
				//				url : _ctxPath + "latj6.do",
				//				scripts : true
				//			}
            }  
        ]
    });

    function handleActivate(tab){
        alert(tab.title + ' was activated.');
    }
});
</script>

